package main

/*
  中间件
*/
import (
	"example.com/m/demo9/routers"
	"github.com/gin-gonic/gin"
)

func main() {
	r := gin.Default()

	// r.GET("/", middleware.MiddleWare1, middleware.MiddleWare2, func(c *gin.Context) {
	// 	fmt.Println("这是首页")
	// 	c.String(200, "root")
	// })
	routers.AdminRoutersInit(r)

	r.Run(":9000")
}
